Frontend JavaScript now understands new json output