Import/export from json

Thanks for your comment, I've been able to figure it out as stated in my answer on this post