[CDAP-778] Used ServiceInstances for deserialization instead of Map<String, String>