sidebar changes to media
json output redefined
undid file changes to recreate behaviour