fixed serializable json from rails and default values for not enough info