[FEATURE] JsonView accepts encoding options (Revision 2)

json_encode supports multiple bitmask options.
see: http://www.php.net/manual/en/json.constants.php

these options are supported with this commit
using the supported options of AbstractView

Change-Id: I5ec1b7f012e36da655eb70ece36876dbc162789e
Releases: master, 2.1
Resolves: #54037
Revision-Id: 7e76417acbf459459c515c9152c5e670ac691f6e