Some fixes and add JN_JsonNull().

Signed-off-by: Thiago Farina <tfarina@chromium.org>