mock JSON APIs easily