[#GRAILS-10980] Add JSON Codec as a registered Codec

in grails 2.2.x encodeAsJSON() was available on linkedHashMaps and Strings, this disappeared / stopped working in 2.3.x. This fix adds it to the codecs list as a provided Artefact.