How to create and expose computed properties to the REST API in Drupal 8