Add JSON serializer
Begin JS compat with Kotlin crosscompiler (Waiting for a kotling bug to be solved)