rewrite jsonf deserializer to suppoert { and } in functions
fixes #16