Use rerun gem to reload sinatra on changes as per http://www.sinatrarb.com/faq.html#reloading
Refactored image JSON format to simplify retrieval and limit to only the necessary data