fix can't locate object method "render_json"

According to the Mojolicious webpage, rendering json uses the render() function:

[error] Can't locate object method "render_json" via package "Mojolicious::Controller" at /Users/.../perl5/bin/sizeme_graph.pl line 141.