json schema and mongo models