Add more attributes to JSON index
Currently foreman only returns a arrray of hostnames as the default index action for json output.
I would like to add more host attributes so I don't have to make more calls to foreman in future requests.
This will break versions of remoteadmin prior to upcoming 0.6 version and may cause issues with foreman CLI but I think its a better solution in the long run.
I am adding the following attributes:
id, hostgroup_id, puppet_status.
It will be easy to add more attributes later.