changing JSON to gem requirement