<human>:  Python functions return all info in a dict.
<bot>: Here is a Python function to return all info in a dict

import json

def _get_all_info():
  """Return all info in a dict.
  """
  return {'name': 'rose', 'watts': 100, 'type': 'DC', 'id': '1'}

# Enter the object
obj = {'name': 'rose', 'watts': 100, 'type': 'DC', 'id': '1'}

# Calling the function
print((json.dumps(_get_all_info())))

#Example Output
# {"name": "rose", "watts": 100, "type": "DC", "id": "1"}

#Remember to inspect code for bugs.