Changed so version controller returns json (dynamic) instead of just an integer