move js prop accessors to macro
json parsing using yajl