JSON Encode and Decode | Drupal 8