Rename json to resource