In an essence, build_hash and build_grouped_response do the same job.