Updated Parser to avoid NullPointerExceptions, populate mProviders properly and populate ProviderMetaData array in order