validate body types
add helper class in companions for PATCH
isJsonDocumentMethod => bodyAllowed