return json error message from views
even better json errors
add local start and end to greenest_subrange view
Merge branch 'json' into develop
add one more error checking to views