adds json view for submission
acheives preliminary json output