Easy REST api endpoint creation for express and mongoose documents