AnyValueSerializer
Serializes an AnyValue as the JSON it holds. Encoding works with any encoder (the value is encoded structurally as strings, booleans, doubles, lists and maps), decoding only with a JSON decoder, as the shape of the value is only known once it is read. The Android SDK's is a placeholder that its own encoder recognises; on Android that one is used.