StrBuffer; custom JSON parser and printer