Merge API Interview Question

Create a json object from some input