get the currencies via php instead of a static json file