support keys start with '$' or contain '.' in testAPI