API mocking based on plain JSON