Get Quickbooks Customer Details

Get Quickbooks Customer Details

I've been able to get quickbooks customer details using the quickbooks integration functions; however, I'm having trouble accessing the individual child attributes.  For example, I can pull the Customer ID, First Name, etc. with no problem.  When I request the BillAddr, it provides all the child attributes in one large string.  I'm trying to get the individual child attribute values Like BillAddr Line1, Lat, Long, etc.  

The code I've used to successfully get the info is:

searchResponse = intuit.quickbooks.searchRecords("st_Rate_QBO", "1XXXXXXXXX0", "SELECT * FROM Customer where FamilyName='" + input.Last_Name + "' AND GivenName='" + input.First_Name + "'");
queryResponse = (searchResponse.get("QueryResponse")).toMap();
isResult = queryResponse.isEmpty();
if (!isResult)
{
    queryResponseList = queryResponse.get("Customer").toJSONList();
    for each rec in queryResponseList
    {
        recMap = rec.toMap();
        id = recMap.get("Id");
        BillAddr = recMap.get("BillAddr");
        alert(id);
        alert(BillAddr);
    }
}


I'm hoping someone can provide code that will allow me to pull the individual child attributes.  Any assistance would be greatly appreciated.

Regards,

James