Object generator for API tests