Extended '/api/devices' response

Added device template to response