Replaced empty rels array with empty object for proper JSON output. Closed #29