changed restfull module and created valid json with embedded_records