json parser: objects tests