Switch to 1.8 compatible hashes and add dependency on moneta