improve(configuration): set custom bean just in case configuration value is a string, but property type is not

Issue #14