WIP: Use RESTful module instead of RestWs

#6042 
=> `$messages = message_load_multiple(array_keys($result[$entity_type]));`