Add specs for JSON calls