Added support for json
Updated rails and added rvmrc file