Add support for momentjs returnType