Create json for images uploaded via editor